package com.witte.entity;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

public class DdData {
    private Integer id;

    private String name;

    private String creator;

    @JsonFormat(pattern="yyyy-MM-dd")
    private Date createtime;

    private String modifier;

    @JsonFormat(pattern="yyyy-MM-dd")
    private Date modififytime;

    private Integer parentid;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator == null ? null : creator.trim();
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getModifier() {
        return modifier;
    }

    public void setModifier(String modifier) {
        this.modifier = modifier == null ? null : modifier.trim();
    }

    public Date getModififytime() {
        return modififytime;
    }

    public void setModififytime(Date modififytime) {
        this.modififytime = modififytime;
    }

    public Integer getParentid() {
        return parentid;
    }

    public void setParentid(Integer parentid) {
        this.parentid = parentid;
    }
}